package com.ctshk.rpc.order.bus.req;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("创建巴士订单逻辑处理req")
public class BusOrderCreateHandleReq extends BusOrderCreateBaseReq {
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "各渠道用户id")
    private Long userId;

	@NotNull(message = "销售人员id不能为空")
	@ApiModelProperty(value = "销售人员id")
    private Long salesmanId;

    @ApiModelProperty(value = "销售人员名称")
    private String salesmanName;
    
    /**
     * @see com.ctshk.common.enums.OrderSource
     */
    @ApiModelProperty("订单来源")
    private Integer orderSource;
    
    @NotNull(message = "加幅类型不能为空")
    @ApiModelProperty("加幅类型，1：自营；2：代理；3：官方平台；4：第三方平台；")
    private Integer strategyType;
    
    @NotNull(message = "关联ID不能为空")
    @ApiModelProperty("关联ID，strategyType(1：用户ID；2：代理ID；3：渠道ID；4：渠道ID)")
    private Long relId;
    
    @ApiModelProperty(value = "客户类型；1：散客；2：代理；3；大客户；")
    private Integer clientType;
    
    @ApiModelProperty(value = "大客户ID")
    private Long bigClientId;

    @ApiModelProperty(value = "大客户名称")
    private String bigClientName;

    @ApiModelProperty(value = "代理公司id")
    private Long agencyId;

    @ApiModelProperty(value = "代理公司")
    private String agencyCompany;

    @ApiModelProperty(value = "代理人名称")
    private String agentUserName;
}
